package com.meter.basic.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.meter.basic.domain.BasicMeter;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface BasicMeterMapper extends BaseMapper<BasicMeter> {

    BasicMeter selectBasicMeterById(Long meterId);

    List<BasicMeter> selectBasicMeterList(BasicMeter basicMeter);

    List<BasicMeter> selectBasicMeterByDeviceId(@Param("deviceId") Long deviceId);

}
